package com.appkubes.mall.core.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
/**
 * 活动发起来源
 * @author Rongjie
 */
@Data
@TableName("mall_activity_source")
@KeySequence(value = "mall_activity_source_SEQ")
@ApiModel(value = "MallActivitySource对象")
public class MallActivitySource implements Serializable{

       private String appKey;

       @TableId(value = "activity_key", type = IdType.UUID)
       @ApiModelProperty(value = "活动KEY")
       private String activityKey;

       @ApiModelProperty(value = "来源类型：SUPPLIER：供应商活动，CUSTOMER：自营活动")
       private String sourceTpe;

       @ApiModelProperty(value = "来源KEY")
       private String sourceKey;

}
